const state = {
  showContent: true
}

const actions = {

}

const mutations = {
  setState (state, payload) { // 使用vuex中的提交荷载更新state
    state[payload.key] = payload.value
  }
}

export default {
  namespaced: true,
  state,
  actions,
  mutations
}
